#include "CrossoverJob.h"

CrossoverJob::CrossoverJob(Solution *newParent1, Solution *newParent2) 
{
    parent1 = newParent1;
    parent2 = newParent2;
};
        
Solution *CrossoverJob::getChild1()                                    
{ 
    return child1; 
};
        
Solution *CrossoverJob::getChild2()                                    
{ 
    return child2; 
};
        
Solution *CrossoverJob::getParent1()                                   
{ 
    return parent1; 
};
Solution *CrossoverJob::getParent2()                                   
{ 
    return parent2; 
};
        
void CrossoverJob::setChild1(Solution *newChild)                       
{ 
    child1 = newChild; 
};
        
void CrossoverJob::setChild2(Solution *newChild)                       
{ 
    child2 = newChild; 
};
